package com.umakr.demo.service;

import com.umakr.demo.mapper.TeacherShowStudentMapper;
import com.umakr.demo.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by yangliu on 2017/8/23.
 */
@Service
public class TeacherShowStudentService {
    @Autowired
    TeacherShowStudentMapper teacherShowStudentMapper;

    public List<Student> teacherShowStudent(Long tid){
        List<Student> list = teacherShowStudentMapper.teacherShowStudent(tid);
        return list;
    }

}
